// To parse this JSON data, do
//
//     final workTakeModel = workTakeModelFromJson(jsonString);

import 'dart:convert';

WorkTakeModel workTakeModelFromJson(String str) => WorkTakeModel.fromJson(json.decode(str));

String workTakeModelToJson(WorkTakeModel data) => json.encode(data.toJson());

class WorkTakeModel {
  WorkTakeModel({
    this.id,
    this.userName,
    this.userTel,
    this.sex,
    this.userAddress,
    this.userProvinceCode,
    this.userProvince,
    this.userCityCode,
    this.userCity,
    this.userCountyCode,
    this.userCounty,
    this.createTime,
    this.updateTime,
    this.installTime,
    this.remark,
    this.status,
  });

  String? id;
  String? userName;
  String? userTel;
  int? sex;
  String? userAddress;
  String? userProvinceCode;
  String? userProvince;
  String? userCityCode;
  String? userCity;
  String? userCountyCode;
  String? userCounty;
  String? createTime;
  String? updateTime;
  String? installTime;
  String? remark;
  String? status;

  factory WorkTakeModel.fromJson(Map<String, dynamic> json) => WorkTakeModel(
        id: json["id"],
        userName: json["userName"],
        userTel: json["userTel"],
        sex: json["sex"],
        userAddress: json["userAddress"],
        userProvinceCode: json["userProvinceCode"],
        userProvince: json["userProvince"],
        userCityCode: json["userCityCode"],
        userCity: json["userCity"],
        userCountyCode: json["userCountyCode"],
        userCounty: json["userCounty"],
        createTime: json["createTime"],
        updateTime: json["updateTime"],
        installTime: json["installTime"],
        remark: json["remark"],
        status: json["status"],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "userName": userName,
        "userTel": userTel,
        "sex": sex,
        "userAddress": userAddress,
        "userProvinceCode": userProvinceCode,
        "userProvince": userProvince,
        "userCityCode": userCityCode,
        "userCity": userCity,
        "userCountyCode": userCountyCode,
        "userCounty": userCounty,
        "createTime": createTime,
        "updateTime": updateTime,
        "installTime": installTime,
        "remark": remark,
        "status": status,
      };
}
